Skip to content

Automated sync from private repo (2026-04-22)#667

Merged
brandom-msft merged 17 commits into
mainfrom
sync/private-to-public-20260422-162423
Apr 22, 2026
Merged

Automated sync from private repo (2026-04-22)#667
brandom-msft merged 17 commits into
mainfrom
sync/private-to-public-20260422-162423

Conversation

@foundry-samples-repo-sync
Copy link
Copy Markdown
Contributor

This PR was automatically generated by the repo sync workflow.

Review carefully before merging. Verify no internal content was included.

Triggered by: workflow_dispatch
Run: https://github.com/microsoft-foundry/foundry-samples-pr/actions/runs/24789816476

Zyysurely and others added 17 commits April 20, 2026 01:10
* [feat] valuation-Only Setup with Private Network Isolation

* Automatic fixes

---------

Co-authored-by: foundry-samples automation <foundry-samples@noreply.github.com>
Added new CODEOWNERS entries for model router Python scripts.
Move the closing </create_agent_with_tools> snippet tag to before
the 'return agent' line so the rendered documentation snippet does
not show a 'return' statement outside a function body.

Fixes: OPS-E2E-PPE/azure-ai-docs-pr#4968

Co-authored-by: Jon Burchel <jonburchel@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
* added e2e pipeline

* deleted old samples

---------

Co-authored-by: Ankit Sinha <anksinha@microsoft.com>
…D authType (#153)

Add important notes to 6 infrastructure setup READMEs clarifying that:
- The authType must be set to AAD (only supported type for CosmosDB)
- The ResourceId property must be included in the connection metadata

This addresses issues where customers creating CosmosDB connections via
REST API were omitting the ResourceId property, causing connection failures.

Affected setups:
- 15-private-network-standard-agent-setup
- 16-private-network-standard-agent-apim-setup-preview
- 17-private-network-standard-user-assigned-identity-agent-setup
- 18-managed-virtual-network-preview
- 19-hybrid-private-resources-agent-setup
- 41-standard-agent-setup

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
…Script samples (#156)

The API rejects the 'agent' body property with 400: 'The agent property is
deprecated. Use agent_reference instead.'

Changes:
- quickstart/chat-with-agent: agent -> agent_reference (2 occurrences)
- quickstart/chat-with-agent: fix undefined FOUNDRY_AGENT_NAME -> AGENT_NAME
- quickstart/agent-service: agent -> agent_reference
- enterprise-agent-tutorial/1-idea-to-prototype: agent -> agent_reference
…ty (#157)

The Foundry DataProxy's HttpProxyV1Controller routes requests through
/v1/https/{serviceName}/{**remainder} where the [Required] attribute on
the remainder parameter rejects empty strings. When the A2A agent card
URL uses root path (/), the remainder is empty, causing a 400 Bad Request
before the request is ever forwarded.

This change:
- Sets the agent card URL to /a2a instead of /
- Adds POST /a2a route (keeps POST / for backward compatibility)

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
* feat(toolbox): add Python and C# toolbox samples

Add toolbox agent samples for Azure AI Foundry hosted agents:

- samples/python/toolbox: azd, copilot-sdk, langgraph, maf variants
  with agent manifests, Dockerfiles, and azd-samples for all supported tools
- samples/csharp/toolbox: crud-sample and maf variants

* fix: use Microsoft Foundry naming and toolbox-in-Foundry phrasing

* fix: use Microsoft Foundry naming and toolbox-in-Foundry phrasing

* fix: use Microsoft Foundry naming and toolbox-in-Foundry phrasing

* fix: use Microsoft Foundry naming and toolbox-in-Foundry phrasing

* fix: use Microsoft Foundry naming and toolbox-in-Foundry phrasing

* fix: use Microsoft Foundry naming and toolbox-in-Foundry phrasing

* fix: use Microsoft Foundry naming and toolbox-in-Foundry phrasing

* fix: use Microsoft Foundry naming and toolbox-in-Foundry phrasing

* fix: use Microsoft Foundry naming and toolbox-in-Foundry phrasing

* fix: use Microsoft Foundry naming and toolbox-in-Foundry phrasing

* fix: use Microsoft Foundry naming and toolbox-in-Foundry phrasing

* fix: use Microsoft Foundry naming and toolbox-in-Foundry phrasing

* fix: use Microsoft Foundry naming and toolbox-in-Foundry phrasing

* fix: use Microsoft Foundry naming and toolbox-in-Foundry phrasing

* fix: use Microsoft Foundry naming and toolbox-in-Foundry phrasing

* fix: use Microsoft Foundry naming and toolbox-in-Foundry phrasing

* fix: use Microsoft Foundry naming and toolbox-in-Foundry phrasing

* fix: use Microsoft Foundry naming and toolbox-in-Foundry phrasing

* fix: use Microsoft Foundry naming and toolbox-in-Foundry phrasing

* fix: use Microsoft Foundry naming and toolbox-in-Foundry phrasing

* fix: use Microsoft Foundry naming and toolbox-in-Foundry phrasing

* fix: use Microsoft Foundry naming and toolbox-in-Foundry phrasing

* fix: use Microsoft Foundry naming and toolbox-in-Foundry phrasing

* fix: use Microsoft Foundry naming and toolbox-in-Foundry phrasing

* fix: use Microsoft Foundry naming and toolbox-in-Foundry phrasing

* fix: use Microsoft Foundry naming and toolbox-in-Foundry phrasing

* fix: use Microsoft Foundry naming and toolbox-in-Foundry phrasing

* fix: use Microsoft Foundry naming and toolbox-in-Foundry phrasing

* fix: use Microsoft Foundry naming and toolbox-in-Foundry phrasing

* fix: use Microsoft Foundry naming and toolbox-in-Foundry phrasing

* fix: use Microsoft Foundry naming and toolbox-in-Foundry phrasing

* fix: use Microsoft Foundry naming and toolbox-in-Foundry phrasing

* fix: use Microsoft Foundry naming and toolbox-in-Foundry phrasing

* fix: use Microsoft Foundry naming and toolbox-in-Foundry phrasing

* fix: use Microsoft Foundry naming and toolbox-in-Foundry phrasing

* fix: use Microsoft Foundry naming and toolbox-in-Foundry phrasing

* fix: use Microsoft Foundry naming and toolbox-in-Foundry phrasing

* fix: use Microsoft Foundry naming and toolbox-in-Foundry phrasing

* fix: use Microsoft Foundry naming and toolbox-in-Foundry phrasing

* fix: use Microsoft Foundry naming and toolbox-in-Foundry phrasing

* fix: use Microsoft Foundry naming and toolbox-in-Foundry phrasing

* fix: use Microsoft Foundry naming and toolbox-in-Foundry phrasing

* fix: use Microsoft Foundry naming and toolbox-in-Foundry phrasing

* fix: use Microsoft Foundry naming and toolbox-in-Foundry phrasing

* fix: use Microsoft Foundry naming and toolbox-in-Foundry phrasing

* fix: use Microsoft Foundry naming and toolbox-in-Foundry phrasing

* fix: use Microsoft Foundry naming and toolbox-in-Foundry phrasing

* fix: use Microsoft Foundry naming and toolbox-in-Foundry phrasing

* fix: use Microsoft Foundry naming and toolbox-in-Foundry phrasing

* toolbox: add tracing setup.py for langgraph sample

* toolbox: add tracing setup.py for azd sample

* toolbox: add tracing dependencies to langgraph/requirements.txt

* toolbox: add tracing dependencies to azd/requirements.txt

* toolbox: add LangGraph auto-tracing to langgraph/main.py

* toolbox: add LangGraph auto-tracing to azd/main.py

* toolbox: update README — tracing ✅ for all samples, Microsoft Foundry naming

* Update README.md
* moved samples

* Refactor to use Azure.AI.Extensions.OpenAI and AIProjectClient for improved response handling

Co-authored-by: Copilot <copilot@github.com>

* update agent framework samples

* Remove ephemeral Foundry agent creation and cleanup steps from E2E workflow

* removed older test scripts

* Fix GitHub token reference in E2E workflow for Copilot SDK sample

* added top level readme

* Fix workflow link order in hosted agents README

---------

Co-authored-by: Ankit Sinha <anksinha@microsoft.com>
Co-authored-by: Copilot <copilot@github.com>
… for running agents and invoking commands. Added examples for invoking agents with `azd` and `curl`, and streamlined instructions for local development. Removed redundant sections and ensured consistency in formatting and command usage. (#164)
* feat(toolbox): add Python and C# toolbox samples

Add toolbox agent samples for Azure AI Foundry hosted agents:

- samples/python/toolbox: azd, copilot-sdk, langgraph, maf variants
  with agent manifests, Dockerfiles, and azd-samples for all supported tools
- samples/csharp/toolbox: crud-sample and maf variants

* docs: update README for Python and C# toolbox samples to reflect Microsoft Foundry branding and enhance troubleshooting section

---------

Co-authored-by: Linda Li <zhuoqunli@microsoft.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
…sion (#158)

* fix: C# quickstart samples use nuget.org and correct Azure.Identity version

The nuget.config files used <clear/> with only the Azure SDK dev feed,
preventing package restore from nuget.org where the GA 2.0.0 packages
are published. Azure.Identity was pinned to 1.19.0 but Azure.AI.Projects
2.0.0 requires >= 1.20.0, causing NU1605 restore errors.

Changes:
- nuget.config (5 files): Replace dev feed with nuget.org
- *.csproj (4 files): Azure.Identity 1.19.0 -> 1.20.0

All 4 quickstart samples (responses, create-agent, chat-with-agent,
agent-service) now build and run against GA packages from nuget.org.

* fix build errors

* try a different fix
…ing updates (#168)

* Update BYO hosted agent READMEs with standard deploy and troubleshooting sections

- Replace old deployment links (hosted-agents-vnext-private-preview) with
  standard azd provision/deploy instructions and aka.ms/azdaiagent/docs link
- Replace parent README references with inline deploy sections
- Add ARM64 troubleshooting section to 7 files missing it
- Standardize deploy section heading and azd invoke examples across all 12 BYO samples

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* updated ha readme

---------

Co-authored-by: Ankit Sinha <anksinha@microsoft.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@foundry-samples-repo-sync foundry-samples-repo-sync Bot requested review from a team as code owners April 22, 2026 16:24
Comment thread samples/python/toolbox/azd/main.py Dismissed
Comment thread samples/python/toolbox/azd/main.py Dismissed
Comment thread samples/python/toolbox/langgraph/main.py Dismissed
Comment thread samples/python/toolbox/langgraph/main.py Dismissed
Comment thread samples/python/toolbox/maf/main.py Dismissed
Comment thread samples/python/toolbox/maf/main.py Dismissed
Copy link
Copy Markdown
Member

@brandom-msft brandom-msft left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approving as a temporary solution to update samples out-of-band with validation runs per teams discussion

@brandom-msft brandom-msft merged commit 64ccbb6 into main Apr 22, 2026
8 checks passed
@brandom-msft brandom-msft deleted the sync/private-to-public-20260422-162423 branch April 22, 2026 16:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.